﻿using System;
using System.Xml.Serialization;

namespace Zendesk.NET.Models
{
    [XmlRoot("post")]
    public class Post
    {
        [XmlElement("account-id")] public int AccountId;
        [XmlElement("body")] public string Body;
        [XmlElement("created-at")] public DateTime Created;
        [XmlElement("entry-id")] public int EntryId;
        [XmlElement("forum-id")] public int ForumId;
        [XmlElement("id")] public int Id;
        [XmlElement("is-informative")] public bool Informative;
        [XmlElement("updated-at")] public DateTime Updated;
        [XmlElement("user-id")] public int UserId;
    }
}